package site.luoji.session;

import lombok.Data;
import site.luoji.mapping.MappedStatement;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

/**
 * @Description: 配置文件解析信息
 * @Author jie.luo
 * @Create: 2020-04-28 11:11
 **/
@Data
public class Configuration {
    /**
     * 数据源
     */
    private DataSource dataSource;
    /**
     * 解析 mapper.xml SQL信息
     * key = namespace + '.' + id
     */
    private Map<String, MappedStatement> mappedStatementMap = new HashMap<>();

}
